home *** CD-ROM | disk | FTP | other *** search
- from JascApp import *
-
- def ScriptProperties():
- return {
- 'Author': 'Kris Zaklika',
- 'Copyright': 'Copyright (C) 2002-2003, Jasc Software Inc., All Rights Reserved.',
- 'Description': 'A thin black wire frame',
- 'Host': 'Paint Shop Pro',
- 'Host Version': '8.00'
- }
-
- def Preset_MagnifyingLens():
- return {
- 'Bound': (0.17125,0.07,0.82375,0.94),
- 'Darkness': 0,
- 'Defocus': -1,
- 'Frame': {
- 'FrameColor': (48,48,48),
- 'Material': App.Constants.LensFrameMaterial.Chrome,
- 'Style': App.Constants.LensFrameShape.Circular,
- 'Thickness': 1
- },
- 'Illumination': {
- 'LightList': [{
- 'LightColor': (128,128,128),
- 'LightDirection': (-0.408977,-0.55636,-0.723327),
- 'HighlightSize': 52
- },{
- 'LightColor': (88,90,168),
- 'LightDirection': (0.0418869,-0.0159264,0.998995),
- 'HighlightSize': 20
- },{
- 'LightColor': (255,255,255),
- 'LightDirection': (1,1,1),
- 'HighlightSize': 20
- }],
- 'MaxAmbience': 100,
- 'MinAmbience': 0
- },
- 'LensSurface': {
- 'EnvironmentMap': {
- 'Active': App.Constants.Boolean.true,
- 'MapType': App.Constants.LensMapType.CurrentImage,
- 'PatternOpacity': 94
- },
- 'Gloss': 14,
- 'Magnification': 7,
- 'LensMaterial': {
- 'Color': (255,255,255),
- 'Pattern': None,
- 'Gradient': None,
- 'Texture': None
- },
- 'LensOpacity': 11,
- 'Refraction': 14,
- 'ShapeType': App.Constants.LensShape.Spherical,
- 'Shininess': 46
- }
- }
-
- def Do(Environment):
- App.Do( Environment, 'MagnifyingLens', Preset_MagnifyingLens())
-
-